Pod::Spec.new do |spec|
  spec.name         = "CCFoundation_Swift"
  spec.version      = "1.0.0"
  spec.summary      = "个人自用库"
  spec.description  = <<-DESC
                    Features:
                    1.个人自用库
                    2.导航栏管理
                    3.闪退的处理
                   DESC
  spec.homepage     = "https://gitee.com/zhoujinhua_xm"
  spec.license      = "MIT"
  spec.author       = { "周金华" => "zhoujinhua_xm@139.com" }
  spec.ios.deployment_target = '10.0'
  spec.source       = { :git => "https://gitee.com/zhoujinhua_xm/CCFoundation_Swift.git", :tag => spec.version }
  spec.swift_version = '5.0'
  spec.source_files = 'Foundation/CCFoundation_Swift.swift'

  
  spec.subspec 'General' do |general|
      general.source_files = 'General/*.swift'
  end
  
  spec.subspec 'Network' do |network|
      network.dependency 'Alamofire',        '~> 5.4.3'
      network.source_files = 'Network/*.swift'
  end
  
  spec.subspec 'Categories' do |categories|
    categories.source_files = 'Categories/*.swift'
  end
end
